package com.cskaoyan.order.constant;

public class OrderConstants {

    public static int ORDER_STATUS_INIT = 0; //初始化状态
    public static int ORDER_STATUS_PAYED = 1; //已支付
    public static int ORDER_STATUS_TRANSACTION_SUCCESS = 4; //交易成功
    public static int ORDER_STATUS_TRANSACTION_CLOSE = 5; //交易关闭
    public static int ORDER_STATUS_TRANSACTION_FAILED = 6; //交易失败
    public static int ORDER_STATUS_TRANSACTION_CANCEL = 7; //订单取消
    public static int ORDER_STATUS_TRANSACTION_DELETED = 8; //订单删除
    // 库存锁定状态
    public static int ORDER_ITEM_STOCK_STATUS_LOCK = 1; //库存已锁定
    public static int ORDER_ITEM_STOCK_STATUS_RELEASE = 2; //库存已释放
    public static int ORDER_ITEM_STOCK_STATUS_SUCCESS = 3; //库存减扣成功

    public static String ORDER_ID = "order_id";
    public static String ORDER_ITEM_ID = "order_item_id";

}

